package com.baijiaoxi.common.model;

import lombok.Data;

import java.util.Arrays;
import java.util.List;

/**
 * 用于通知保存参数
 */
@Data
public class NotifyEventParams {
    private List<String> params;


    public void add(String... paramArray) {
        List<String> stringList = Arrays.asList(paramArray);
        if (params == null)
            this.params = stringList;
        else this.params.addAll(stringList);
    }
}
